.class public Les/p7;
.super Ljava/lang/Object;
.source "CoordinateUtils.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/p7$a;
    }
.end annotation


# direct methods
.method static constructor <clinit>()V
    .locals 3

    .line 1
    new-instance v0, Les/p7$a;

    const/high16 v1, 0x3f800000    # 1.0f

    const/high16 v2, -0x40800000    # -1.0f

    invoke-direct {v0, v2, v1, v2, v1}, Les/p7$a;-><init>(FFFF)V

    return-void
.end method

.method public static a(FILes/p7$a;)F
    .locals 1
    .param p2    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    if-nez p1, :cond_0

    const/4 p0, 0x0

    return p0

    .line 4
    :cond_0
    iget v0, p2, Les/p7$a;->b:F

    iget p2, p2, Les/p7$a;->d:F

    sub-float/2addr v0, p2

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result p2

    int-to-float p1, p1

    div-float/2addr p0, p1

    mul-float p2, p2, p0

    return p2
.end method

.method public static a(FLes/p7$a;)F
    .locals 1
    .param p1    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 5
    iget v0, p1, Les/p7$a;->b:F

    iget p1, p1, Les/p7$a;->d:F

    sub-float/2addr v0, p1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result p1

    mul-float p1, p1, p0

    return p1
.end method

.method public static a(FFLcom/esfile/screen/recorder/media/util/y;Les/p7$a;)Landroid/graphics/PointF;
    .locals 2
    .param p2    # Lcom/esfile/screen/recorder/media/util/y;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p3    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    new-instance v0, Landroid/graphics/PointF;

    invoke-virtual {p2}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v1

    invoke-static {p0, v1, p3}, Les/p7;->c(FILes/p7$a;)F

    move-result p0

    .line 2
    invoke-virtual {p2}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result p2

    invoke-static {p1, p2, p3}, Les/p7;->d(FILes/p7$a;)F

    move-result p1

    invoke-direct {v0, p0, p1}, Landroid/graphics/PointF;-><init>(FF)V

    return-object v0
.end method

.method public static a(FFLes/p7$a;)Landroid/graphics/PointF;
    .locals 1
    .param p2    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 3
    new-instance v0, Landroid/graphics/PointF;

    invoke-static {p0, p2}, Les/p7;->c(FLes/p7$a;)F

    move-result p0

    invoke-static {p1, p2}, Les/p7;->d(FLes/p7$a;)F

    move-result p1

    invoke-direct {v0, p0, p1}, Landroid/graphics/PointF;-><init>(FF)V

    return-object v0
.end method

.method public static b(FILes/p7$a;)F
    .locals 1
    .param p2    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    if-nez p1, :cond_0

    const/4 p0, 0x0

    return p0

    .line 1
    :cond_0
    iget v0, p2, Les/p7$a;->c:F

    iget p2, p2, Les/p7$a;->a:F

    sub-float/2addr v0, p2

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result p2

    int-to-float p1, p1

    div-float/2addr p0, p1

    mul-float p2, p2, p0

    return p2
.end method

.method public static b(FLes/p7$a;)F
    .locals 1
    .param p1    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 2
    iget v0, p1, Les/p7$a;->c:F

    iget p1, p1, Les/p7$a;->a:F

    sub-float/2addr v0, p1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result p1

    mul-float p1, p1, p0

    return p1
.end method

.method public static c(FILes/p7$a;)F
    .locals 2
    .param p2    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    iget v0, p2, Les/p7$a;->a:F

    iget v1, p2, Les/p7$a;->c:F

    cmpg-float v1, v0, v1

    if-gez v1, :cond_0

    .line 2
    invoke-static {p0, p1, p2}, Les/p7;->b(FILes/p7$a;)F

    move-result p0

    add-float/2addr v0, p0

    return v0

    .line 3
    :cond_0
    invoke-static {p0, p1, p2}, Les/p7;->b(FILes/p7$a;)F

    move-result p0

    sub-float/2addr v0, p0

    return v0
.end method

.method public static c(FLes/p7$a;)F
    .locals 2
    .param p1    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 4
    iget v0, p1, Les/p7$a;->a:F

    iget v1, p1, Les/p7$a;->c:F

    cmpg-float v1, v0, v1

    if-gez v1, :cond_0

    .line 5
    invoke-static {p0, p1}, Les/p7;->b(FLes/p7$a;)F

    move-result p0

    add-float/2addr v0, p0

    return v0

    .line 6
    :cond_0
    invoke-static {p0, p1}, Les/p7;->b(FLes/p7$a;)F

    move-result p0

    sub-float/2addr v0, p0

    return v0
.end method

.method public static d(FILes/p7$a;)F
    .locals 2
    .param p2    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    iget v0, p2, Les/p7$a;->d:F

    iget v1, p2, Les/p7$a;->b:F

    cmpg-float v0, v0, v1

    if-gez v0, :cond_0

    .line 2
    invoke-static {p0, p1, p2}, Les/p7;->a(FILes/p7$a;)F

    move-result p0

    sub-float/2addr v1, p0

    return v1

    .line 3
    :cond_0
    invoke-static {p0, p1, p2}, Les/p7;->a(FILes/p7$a;)F

    move-result p0

    add-float/2addr v1, p0

    return v1
.end method

.method public static d(FLes/p7$a;)F
    .locals 2
    .param p1    # Les/p7$a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 4
    iget v0, p1, Les/p7$a;->d:F

    iget v1, p1, Les/p7$a;->b:F

    cmpg-float v0, v0, v1

    if-gez v0, :cond_0

    .line 5
    invoke-static {p0, p1}, Les/p7;->a(FLes/p7$a;)F

    move-result p0

    sub-float/2addr v1, p0

    return v1

    .line 6
    :cond_0
    invoke-static {p0, p1}, Les/p7;->a(FLes/p7$a;)F

    move-result p0

    add-float/2addr v1, p0

    return v1
.end method
